< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/04060105.xhp

(bookmark: bm_id3153484)
logical functions
Function Wizard; logical
functions; logical functions

論理関数
関数ウィザード; 論理
関数; 論理関数

Logical Functions
論理関数(hd_id3153484.1)

(variable: logischtext)This category contains the Logical functions.
(variable: logischtext)この分類項目には、論理 関数が含まれます。(par_id3149312.2)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/scalc/00/00000404.xhp#eikalo : linkinfo)

Insert - Function - Category Logical
挿入 → 関数 → 分類項目 論理(par_id3159173.21)

(/embed text/scalc/00/00000404.xhp#eikalo)


(section: Section6) (bookmark: bm_id3147505)
AND function

AND 関数
(bookmark: bm_id3145320)

AND
AND(hd_id3147505.29)

Returns TRUE if all arguments are TRUE. If one of the elements is FALSE, this function returns the FALSE value.
すべての引数が TRUE であれば TRUE を返します。要素のどれかが FALSE であれば、この関数は FALSE 値を返します。(par_id3153959.65)

The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.
引数は、論理値を返す論理式そのもの (TRUE、1<5、2+3=7、B8<10) であるか、論理値を含む行列の範囲 (A1:C3) です。(par_id3146100.66)

Note Icon 注マーク When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.
関数で使用できる値が 1 つだけであるにもかかわらず、セル範囲を入力した場合は、セル範囲の中で数式と同じ行または列にある値が取られます。(par_id3150538.67)

Note Icon 注マーク If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!
入力された範囲が、数式の現在の行または列の外にある場合は、関数はエラー値 #VALUE! を返します。(par_id3149128.68)

Syntax
構文(hd_id3150374.31)

AND(LogicalValue1; LogicalValue2 ...LogicalValue30)
AND(論理値 1; 論理値 2 ...論理値 30)(par_id3159123.32)

LogicalValue1; LogicalValue2 ...LogicalValue30 are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row. The result is TRUE if the logical value in all cells within the cell range is TRUE.
論理値 1; 論理値 2 ...論理値 30 は、チェックする条件です。すべての条件が TRUE または FALSE になる可能性があります。範囲がパラメータとして入力された場合、関数は、現在の列または行の範囲の値を使用します。セル範囲内のすべてのセルの論理値が TRUE の場合、結果は TRUE です。(par_id3150038.33)

Example
(hd_id3149143.34)

The logical values of entries 12<13; 14>12, and 7<6 are to be checked:
入力 12<13、14>12、7<6 の論理値がチェックされます: (par_id3153123.35)

=AND(12<13;14>12;7<6) returns FALSE.
=AND(12<13;14>12;7<6) は、FALSE を返します。(par_id3145632.36)

=AND (FALSE;TRUE) returns FALSE.
=AND (FALSE;TRUE) は、FALSE を返します。(par_id3149946.60)

(/section: Section6) (section: Section5) (bookmark: bm_id3149015)
FALSE function

FALSE 関数
(bookmark: bm_id3154678)

FALSE
FALSE(hd_id3149015.3)

Returns the logical value FALSE. The FALSE() function does not require any arguments, and always returns the logical value FALSE.
論理値 FALSE を返します。FALSE() 関数には引数は不要であり、常に論理値 FALSE を返します。(par_id3149890.4)

Syntax
構文(hd_id3146939.5)

FALSE()
FALSE()(par_id3150030.6)

Example
(hd_id3150697.7)

=FALSE() returns FALSE
=FALSE() は、FALSE を返します。(par_id3154842.8)

=NOT(FALSE()) returns TRUE
=NOT(FALSE()) は、TRUE を返します(par_id3147468.9)

(/section: Section5) (section: Section4) (bookmark: bm_id3150141)
IF function

IF 関数
(bookmark: bm_id3152789)

IF
IF(hd_id3150141.48)

Specifies a logical test to be performed.
実行する論理テストを指定します。(par_id3148740.49)

Syntax
構文(hd_id3153325.50)

IF(Test; ThenValue; OtherwiseValue)
IF(テスト; 真の時の値; 偽の時の値)(par_id3154558.51)

Test is any value or expression that can be TRUE or FALSE.
Test は、TRUE か FALSE のどちらかになる値または式です。(par_id3149727.52)

ThenValue (optional) is the value that is returned if the logical test is TRUE.
真の時の値 (オプション) は、論理テストが TRUE の場合に返される値です。(par_id3155828.53)

OtherwiseValue (optional) is the value that is returned if the logical test is FALSE.
偽の時の値 (オプション) は、論理テストが FALSE の場合に返される値です。(par_id3154811.54)

(embed: text/scalc/00/00000004.xhp#optional : linkinfo)In the Office Calc functions, parameters marked as "optional" can be left out only when no parameter follows. For example, in a function with four parameters, where the last two parameters are marked as "optional", you can leave out parameter 4 or parameters 3 and 4, but you cannot leave out parameter 3 alone.
Office Calc の関数では、「オプション」としてマークされているパラメータを省略できるのは、その後にパラメータが続かない場合のみです。たとえば、4 つのパラメータがあり、その最後 2 つのパラメータが「オプション」としてマークされている関数では、パラメータ 4 を省略したり、パラメータ 3 と 4 を省略することはできますが、パラメータ 3 のみを省略することはできません。 (/embed: text/scalc/00/00000004.xhp#optional)

(embed: text/scalc/00/00000004.xhp#optional : linkinfo)In the Office Calc functions, parameters marked as "optional" can be left out only when no parameter follows. For example, in a function with four parameters, where the last two parameters are marked as "optional", you can leave out parameter 4 or parameters 3 and 4, but you cannot leave out parameter 3 alone.
Office Calc の関数では、「オプション」としてマークされているパラメータを省略できるのは、その後にパラメータが続かない場合のみです。たとえば、4 つのパラメータがあり、その最後 2 つのパラメータが「オプション」としてマークされている関数では、パラメータ 4 を省略したり、パラメータ 3 と 4 を省略することはできますが、パラメータ 3 のみを省略することはできません。 (/embed: text/scalc/00/00000004.xhp#optional)
(par_idN107FA.)

Examples
(hd_id3149507.55)

=IF(A1>5;100;"too small") If the value in A1 is higher than 5, the value 100 is entered in the current cell; otherwise, the text “too small” (without quotes) is entered.
=IF(A1>5;100;"too small") A1 の値が 5 より大きい場合、値 100 が現在のセルに入力されます。それ以外の場合は、テキスト「too small」が引用符なしで入力されます。(par_id3150867.57)

(/section: Section4) (section: Section3) (bookmark: bm_id3155954)
NOT function

NOT 関数
(bookmark: bm_id3145168)

NOT
NOT(hd_id3155954.12)

Complements (inverts) a logical value.
論理値の補数 (反転) 演算をします。(par_id3153570.13)

Syntax
構文(hd_id3147372.14)

NOT(LogicalValue)
NOT(論理値)(par_id3157996.15)

LogicalValue is any value to be complemented.
論理値 は補数演算される任意の値です。(par_id3148766.16)

Example
(hd_id3149884.17)

=NOT(A). If A=TRUE then NOT(A) will evaluate FALSE.
=NOT(A)。もし A=TRUE なら、NOT(A) は FALSE を評価します。(par_id3150132.18)

(/section: Section3) (section: Section2) (bookmark: bm_id3148394)
OR function

OR 関数
(bookmark: bm_id3155620)

OR
OR(hd_id3148394.20)

Returns TRUE if at least one argument is TRUE. This function returns the value FALSE, if all the arguments have the logical value FALSE.
1 つ以上の引数が TRUE であれば TRUE を返します。この関数は、すべての引数の論理値が FALSE であれば FALSE を返します。(par_id3156060.61)

The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.
引数は、論理値を返す論理式そのもの (TRUE、1<5、2+3=7、B8<10) であるか、論理値を含む行列の範囲 (A1:C3) です。(par_id3148771.62)

Note Icon 注マーク When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.
関数で使用できる値が 1 つだけであるにもかかわらず、セル範囲を入力した場合は、セル範囲の中で数式と同じ行または列にある値が取られます。(par_id3153546.63)

Note Icon 注マーク If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!
入力された範囲が、数式の現在の行または列の外にある場合は、関数はエラー値 #VALUE! を返します。(par_id3149027.64)

Syntax
構文(hd_id3155517.22)

OR(LogicalValue1; LogicalValue2 ...LogicalValue30)
OR(論理値 1; 論理値 2 ...論理値 30)(par_id3150468.23)

LogicalValue1; LogicalValue2 ...LogicalValue30 are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row.
論理値 1; 論理値 2 ...論理値 30 は、チェックされる条件です。すべての条件が TRUE または FALSE になる可能性があります。範囲がパラメータとして入力された場合、関数は、現在の列または行の範囲の値を使用します。(par_id3155819.24)

Example
(hd_id3153228.25)

The logical values of entries 12<11; 13>22, and 45=45 are to be checked.
入力 12<11、13>22、45=45 の論理値がチェックされます。(par_id3154870.26)

=OR(12<11;13>22;45=45) returns TRUE.
=OR(12<11;13>22;45=45) は、TRUE を返します。(par_id3155371.27)

=OR(FALSE;TRUE) returns TRUE.
=OR(FALSE;TRUE) は、TRUE を返します。(par_id3158412.59)

(/section: Section2) (section: Section1) (bookmark: bm_id3156256)
TRUE function

TRUE 関数
(bookmark: bm_id3148426)

TRUE
TRUE(hd_id3156256.38)

The logical value is set to TRUE. The TRUE() function does not require any arguments, and always returns the logical value TRUE.
論理値は TRUE に設定されます。TRUE() 関数には引数は不要であり、常に論理値 TRUE を返します。(par_id3155985.39)

Syntax
構文(hd_id3153717.40)

TRUE()
TRUE()(par_id3152590.41)

Example
(hd_id3147175.42)

If A=TRUE and B=FALSE the following examples appear:
A=TRUE および B=FALSE であれば、次の例が表示されます。(par_id3146148.43)

=AND(A;B) returns FALSE
=AND(A;B) は、FALSE を返します。(par_id3083285.44)

=OR(A;B) returns TRUE
=OR(A;B) は、TRUE を返します。(par_id3083444.45)

=NOT(AND(A;B)) returns TRUE
=NOT(AND(A;B)) は、TRUE を返します。(par_id3154314.46)

(/section: Section1)

(embed text/scalc/01/04060100.xhp#drking : linkinfo)

Calc functions in the OpenOffice.org Wiki
OpenOffice.org Wiki Calc の関数(par_id0902200809540918.)

(/embed text/scalc/01/04060100.xhp#drking)


< Prev / Next >